package com.bootdo.exception;

/**
 * 自定义异常
 */
public class BizException extends RuntimeException {

    private String code;

    private String message;

    public BizException(String code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

    public BizException(String message) {
        super(message);
    }

    public BizException(String message, Throwable cause) {
        super(message, cause);
    }
}
